QT       += core gui
QT       += sql
QT       += printsupport
QT       += serialport
QT       += charts
QT       += multimedia
QT       += axcontainer
 QT += core
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17
RC_ICONS = logo.ico
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Beans/databeans.cpp \
    Beans/userinfobeab.cpp \
    Charts/creatcharts.cpp \
    Charts/customslice.cpp \
    Charts/measurepagecharts.cpp \
    Charts/measurepagecharts2.cpp \
    Charts/mesureresultpagecharts.cpp \
    Config/constant.cpp \
    DBOperation/mysql.cpp \
    HRVPro/FFTAlg.cpp \
    HRVPro/appgalg.cpp \
    HRVPro/hrvdataprocess.cpp \
    HRVPro/listoperation.cpp \
    HRVPro/ppgrealprocess1.cpp \
    HRVPro/ppgrealprocess2.cpp \
    IIRDesign/IIRFilterDesign.cpp \
    QRCode/bitstream.c \
    QRCode/mask.c \
    QRCode/mmask.c \
    QRCode/mqrspec.c \
    QRCode/qrencode.c \
    QRCode/qrinput.c \
    QRCode/qrspec.c \
    QRCode/rscode.c \
    QRCode/split.c \
    Report/anf.cpp \
    Report/appgreport.cpp \
    Report/hrv.cpp \
    Report/login.cpp \
    Report/mentalreport.cpp \
    Report/printreport.cpp \
    Report/slreport.cpp \
    Report/smoothcurvegenerator.cpp \
    dataquerypage.cpp \
    dialog/app.cpp \
    dialog/appinit.cpp \
    dialog/frminputbox.cpp \
    dialog/frmmessagebox.cpp \
    dialog/iconhelper.cpp \
    dialog/registdialog.cpp \
    funcselectpage.cpp \
    main.cpp \
    measurepage_p1.cpp \
    measurepage_p2.cpp \
    measureresultpage.cpp \
    others/findcom.cpp \
    others/wmic.cpp \
    settingpage.cpp \
    sliderruler.cpp \
    test/form.cpp \
    thread/threaddatapro.cpp \
    thread/threadwork.cpp \
    userinfoinputdialog.cpp \
    welcomepage.cpp

HEADERS += \
    Beans/HRVData.h \
    Beans/databeans.h \
    Beans/userinfobeab.h \
    Charts/creatcharts.h \
    Charts/customslice.h \
    Charts/measurepagecharts.h \
    Charts/measurepagecharts2.h \
    Charts/mesureresultpagecharts.h \
    Config/constant.h \
    Config/global.h \
    DBOperation/mysql.h \
    HRVPro/FFTAlg.h \
    HRVPro/appgalg.h \
    HRVPro/hrvdataprocess.h \
    HRVPro/listoperation.h \
    HRVPro/ppgrealprocess1.h \
    HRVPro/ppgrealprocess2.h \
    IIRDesign/IIRFilterDesign.h \
    QRCode/bitstream.h \
    QRCode/config.h \
    QRCode/mask.h \
    QRCode/mmask.h \
    QRCode/mqrspec.h \
    QRCode/qrencode.h \
    QRCode/qrencode_inner.h \
    QRCode/qrinput.h \
    QRCode/qrspec.h \
    QRCode/rscode.h \
    QRCode/split.h \
    Report/anf.h \
    Report/appgreport.h \
    Report/hrv.h \
    Report/login.h \
    Report/mentalreport.h \
    Report/printreport.h \
    Report/slreport.h \
    Report/smoothcurvegenerator.h \
    SafeQueue/safequeue.h \
    dataquerypage.h \
    dialog/app.h \
    dialog/appinit.h \
    dialog/frminputbox.h \
    dialog/frmmessagebox.h \
    dialog/iconhelper.h \
    dialog/myhelper.h \
    dialog/registdialog.h \
    funcselectpage.h \
    measurepage_p1.h \
    measurepage_p2.h \
    measureresultpage.h \
    others/findcom.h \
    others/wmic.h \
    settingpage.h \
    sliderruler.h \
    test/form.h \
    thread/threaddatapro.h \
    thread/threadwork.h \
    userinfoinputdialog.h \
    welcomepage.h

FORMS += \
    Report/anf.ui \
    Report/appgreport.ui \
    Report/hrv.ui \
    Report/login.ui \
    Report/mentalreport.ui \
    Report/slreport.ui \
    dataquerypage.ui \
    dialog/frminputbox.ui \
    dialog/frmmessagebox.ui \
    dialog/registdialog.ui \
    funcselectpage.ui \
    measurepage_p1.ui \
    measurepage_p2.ui \
    measureresultpage.ui \
    settingpage.ui \
    test/form.ui \
    userinfoinputdialog.ui \
    welcomepage.ui

TRANSLATIONS += \
    XYMentalPressureAna_zh_CN.ts
CONFIG += lrelease
CONFIG += embed_translations

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Resources.qrc

DISTFILES += \
    QRCode/QRCode.pri

